// vue.config.js，如没有此文件则手动创建
"use strict";
const path = require("path");

function resolve(dir) {
  return path.join(__dirname, dir);
}


module.exports = {
    transpileDependencies: ['uview-ui'],

    configureWebpack: {
        resolve: {
            alias: { //- 配置快捷路径
                '@': resolve('src'),
                'api': resolve('src/request/api'),
            }
        }
    }
}